projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cc35e1
)
Preserve leading whitespace in `lm-commentary'.
author
Matt Armstrong
<matt@rfc20.org>
Tue, 9 Feb 2021 08:10:45 +0000
(09:10 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 9 Feb 2021 08:10:45 +0000
(09:10 +0100)
* lisp/emacs-lisp/lisp-mnt.el (lm-commentary): Preserve leading
whitespace (bug#46364).
lisp/emacs-lisp/lisp-mnt.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp-mnt.el
b/lisp/emacs-lisp/lisp-mnt.el
index adb9cb2372c52488e0714c7950ae4c2cf6f5dd77..6d9c8c32794efb00c34fed9688d1c96e4680eef4 100644
(file)
--- a/
lisp/emacs-lisp/lisp-mnt.el
+++ b/
lisp/emacs-lisp/lisp-mnt.el
@@
-495,7
+495,7
@@
absent, return nil."
(concat "^;;;[[:blank:]]*\\("
lm-commentary-header
"\\):[[:blank:]\n]*")
- "^;;[[:blank:]]
*
" ; double semicolon prefix
+ "^;;[[:blank:]]
?
" ; double semicolon prefix
"[[:blank:]\n]*\\'") ; trailing new-lines
"" (buffer-substring-no-properties
start (lm-commentary-end))))))))